package cc.minos.servers.openfire.ui.textbox
{
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.TextEvent;
	import flashx.textLayout.container.ContainerController;
	
	/**
	 * ...
	 * @author Minos
	 */
	public class CustomController extends ContainerController
	{
		
		public function CustomController( container:Sprite , compositionWidth:Number = 100 , compositionHeight:Number = 100 )
		{
			super( container , compositionWidth , compositionHeight );
		}
		
		//override inta
		
		override public function textInputHandler(event:TextEvent):void 
		{
			//try {
				super.textInputHandler(event);
			//}catch ( e:Error) { };
			//updateVisibleRectangle();
		}
		
		public function get contentHeight():Number
		{
			//return super.contentHeight;
			return getContentBounds().height;
		}
	
	}

}